#ifndef  __FRUINFO_TESTER_H__
#define  __FRUINFO_TESTER_H__

#ifdef _cplusplus
extern "c"{
#endif

#include "typedef.h"
#include "FruInfo.h"
#include "TestItem.h"

#define  FRU_INFO_TESTER_BUF_SIZE 4096
extern FruInfo g_FruInfoTester;
extern uint8 m_FruInfoTesterBuffer[];

Bool FruInfoTester_PagedAccessVerify(void* pObj, uint32 output[]);
Bool FruInfoTester_PagedAccess(uint32 input[], uint32 output[], TestVerifyFun Verify);
Bool FruInfoTester_Read(uint32 input[], uint32 output[]);
Bool FruInfoTester_Write(uint32 input[], uint32 output[]);
Bool FruInfoTester_Verify(uint32 input[], uint32 output[]);
void FruInfoTester_Init(uint8* pBuff, int nLen);
void MmcFruInfo_SetDefault(FruInfo* pFruInfo);

#ifdef _cplusplus
}
#endif

#endif 

